package recallin.navigation;

import org.mapsforge.core.GeoPoint;


public class Trigger {
    
	private Vertex vertex;
    private GeoPoint geoPoint;
    private String message;
    private Double length;
    private Double distance;

    
    public Trigger() {
	}

    public Trigger(Vertex vertex, GeoPoint geoPoint, String message,
			Double length, Double distance) {
		this.vertex = vertex;
		this.geoPoint = geoPoint;
		this.message = message;
		this.length = length;
		this.distance = distance;
	}

	public Vertex getVertex() {
		return vertex;
	}
	public void setVertex(Vertex vertex) {
		this.vertex = vertex;
	}
	public GeoPoint getGeoPoint() {
		return geoPoint;
	}
	public void setGeoPoint(GeoPoint geoPoint) {
		this.geoPoint = geoPoint;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Double getLength() {
		return length;
	}
	public void setLength(Double length) {
		this.length = length;
	}
	public Double getDistance() {
		return distance;
	}
	public void setDistance(Double distance) {
		this.distance = distance;
	}

	@Override
	public String toString() {
		return "Trigger [vertex=" + vertex + ", geoPoint=" + geoPoint
				+ ", message=" + message + ", length=" + length + ", distance="
				+ distance + "]";
	}
    
}